<!doctype html>
<html>
<head>
	<meta charset="utf-8" />
	<title>事件绑定-表单-JavaScript-WSCORE</title>
	<link href="../../theme/style.css" rel="stylesheet" type="text/css" />
	<script src="../../theme/browser.js" type="text/javascript"></script>
</head>
<body>
	<div class="header">
		<ol>
			<li><a href="../../index.html">首页</a></li>
			<li><a href="index.html">表单初始化</a></li>
			<li>事件</li>
		</ol>
	</div>
	<fieldset>
		<legend>事件初始化</legend>
		事件初始化，指表单各元素与用户交互时、后，
		对用户操作、请求执行相应的格式化验证、处理等；
		执行wscbase_form后, 系统会自动智能绑定事件；主要事件包括以下
		<div class="br"></div>
		#1: <a href="index.event.blur.html">blur</a><br />
		#2: <a href="index.event.change.html">change</a><br />
		#3: <a href="index.event.focus.html">focus</a><br />
		#4: <a href="index.event.keydown.html">keydown</a><br />
		#5: <a href="index.event.keyup.html">keyup</a><br />
		#6: <a href="index.event.submit.html">submit</a>
		<div class="code example">
			<i>jQuery</i> ( <u>selector</u> ) . <b>wscbase_form_event</b> ()
		</div>
		<div class="param">
			<strong>selector</strong><br />
			类型：jQuery-Object<br />
			描述：绑定表单元素事件
			<div class="example"><pre><i>jQuery</i> ( '<u>input[name="email"]</u>' ) . <b>wscbase_form_event</b> ()</pre></div>
		</div>
	</fieldset>
</body>
</html>